<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="renderer" content="webkit">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge,chrome=1">
    <title>人员管理</title>
    <link rel="stylesheet" href="../plugins/layui/css/layui.css" media="all">
    <link rel="stylesheet" href="../public/css/app.css" media="all" />
    <link rel="stylesheet" href="../public/css/doc.css" media="all">
    <link rel="stylesheet" href="../public/css/message.css" media="all">
    <link rel="stylesheet" href="../public/css/nprogress.css" media="all">
</head>

<body id="myiframe">
	<div class="kit-doc" style="padding:10px;">
   		<blockquote class="layui-elem-quote layui-text">人员管理</blockquote>
    </div>
    <div class="kit-table" style="margin-left:10px;margin-right:10px;">
	    <form class="layui-form" lay-filter="kit-search-form">
	        <div class="kit-table-header">
	            <div class="kit-search-btns">
  				
	            <a href="javascript:;" data-action="export" class="layui-btn layui-btn-small"><i class="layui-icon">&#xe608;</i> 导出</a>
	            	<a href="javascript:;" data-action="add" class="layui-btn layui-btn-small"><i class="layui-icon">&#xe608;</i> 新增</a>
	                <a href="javascript:;" data-action="del-bulk" class="layui-btn layui-btn-small layui-btn-danger"><i class="layui-icon">&#xe640;</i> 批量删除</a>
	            </div>
	            <div class="kit-search-inputs">
	                <div class="kit-search-keyword">
	                    <input type="text" class="layui-input" name="userName" placeholder="搜索姓名.." />
	                    <button lay-submit lay-filter="search"><i class="layui-icon">&#xe615;</i></button>
	                </div>
	                <div class="kit-search-more" id="kit-search-more">更多筛选<i class="layui-icon">&#xe61a;</i></div>
	            </div>
	        </div>
	        <div class="kit-search-mored layui-anim layui-anim-upbit">
	            <div class="kit-search-body">
	                <div class="layui-form-item">
	                	<div class="layui-inline">
	                        <label class="layui-form-label">是否党员</label>
	                        <div class="layui-input-inline">
	                            <select name="politicalStatus" lay-filter="aihao">
		                            <option value="" selected=""></option>
		                            <option value="1">是</option>
		                            <option value="2">否</option>
		                        </select>
	                        </div>
	                    </div>
	                    <div class="layui-inline">
	                        <label class="layui-form-label">手机</label>
	                        <div class="layui-input-inline">
	                            <input type="tel" maxlength="11" name="telephone" placeholder="请输手机号" autocomplete="off" class="layui-input">
	                        </div>
	                    </div>
	                </div>
	                <div class="layui-form-item">
	                    <div class="layui-inline">
		                    <label class="layui-form-label">是否残疾</label>
		                    <div class="layui-input-inline">
		                        <select name="deformityFlg" lay-filter="aihao">
		                            <option value="" selected=""></option>
		                            <option value="1">是</option>
		                            <option value="0">否</option>
		                        </select>
		                    </div>
		                </div>
		                <div class="layui-inline">
	                        <label class="layui-form-label"></label>
	                        <div class="layui-input-inline">
	                        
	                        </div>
	                    </div>
		                 
	                </div>
	                
	               
	            </div>
	            <div class="kit-search-footer">
	            <button type="button" class="layui-btn layui-btn-small layui-btn-primary kit-btn" id="url">excel导入</button>
	                <button type="reset" class="layui-btn layui-btn-small layui-btn-primary kit-btn">重置</button>
	                <button lay-submit lay-filter="search" class="layui-btn layui-btn-small kit-btn">确定</button>
	            </div>
	        </div>
	    </form>
	    <div class="kit-table-body">
	        <table id="demo" lay-filter="demo"></table>
	        <script type="text/html" id="barDemo">
            	<a class="layui-btn layui-btn-mini" lay-event="edit">编辑</a>
            	<a class="layui-btn layui-btn-danger layui-btn-mini" lay-event="del">删除</a>
        	</script>
	    </div>
	</div>
	
	<script type="text/html" id="gendertpl">
		{{#  if(d.gender == 1){ }}
  			<div class="layui-table-cell laytable-cell-1-status"><span style="color: #90EE90;">男</span></div>
		{{#  } else { }}
			<div class="layui-table-cell laytable-cell-1-status"><span style="color: #FF6A6A;">女</span></div>
		{{#  } }}
	</script>
	<script type="text/html" id="politicalStatustpl">
		{{#  if(d.politicalStatus == 1){ }}
  			<div class="layui-table-cell laytable-cell-1-status"><span style="color: #90EE90;">党员</span></div>
		{{#  } else if(d.politicalStatus == 2){ }}
			<div class="layui-table-cell laytable-cell-1-status"><span style="color: #FF6A6A;">团员</span></div>
		{{#  } else { }}
			<div class="layui-table-cell laytable-cell-1-status"><span style="color: #FF6A6A;">无</span></div>
		{{#  } }}
	</script>
	<script type="text/html" id="maritalStatustpl">
		{{#  if(d.maritalStatus == 1){ }}
  			<div class="layui-table-cell laytable-cell-1-status"><span style="color: #90EE90;">再婚</span></div>
		{{#  } else if(d.maritalStatus == 0){ }}
			<div class="layui-table-cell laytable-cell-1-status"><span style="color: #FF6A6A;">已婚</span></div>
		{{#  } else if(d.maritalStatus == 2){ }}
			<div class="layui-table-cell laytable-cell-1-status"><span style="color: #FF6A6A;">离异</span></div>
		{{#  } else if(d.maritalStatus == 3){ }}
			<div class="layui-table-cell laytable-cell-1-status"><span style="color: #FF6A6A;">未婚</span></div>
		{{#  } else if(d.maritalStatus == 4){ }}
			<div class="layui-table-cell laytable-cell-1-status"><span style="color: #FF6A6A;">丧偶<</span></div>
		{{#  } }}
	</script>
	<script type="text/html" id="militaryServiceStatustpl">
		{{#  if(d.militaryServiceStatus == 1){ }}
  			<div class="layui-table-cell laytable-cell-1-status"><span style="color: #90EE90;">复员</span></div>
		{{#  } else if(d.militaryServiceStatus == 0){ }}
			<div class="layui-table-cell laytable-cell-1-status"><span style="color: #FF6A6A;">现役</span></div>
		{{#  } else if(d.militaryServiceStatus == 2){ }}
			<div class="layui-table-cell laytable-cell-1-status"><span style="color: #FF6A6A;">两参</span></div>
		{{#  } }}
	</script>
	<script type="text/html" id="enjoyLivingAllowancesFlgtpl">
		{{#  if(d.enjoyLivingAllowancesFlg == 1){ }}
  			<div class="layui-table-cell laytable-cell-1-status"><span style="color: #90EE90;">是</span></div>
		{{#  } else { }}
			<div class="layui-table-cell laytable-cell-1-status"><span style="color: #FF6A6A;">否</span></div>
		{{#  } }}
	</script>
	<script type="text/html" id="deformityFlgtpl">
		{{#  if(d.deformityFlg == 1){ }}
  			<div class="layui-table-cell laytable-cell-1-status"><span style="color: #90EE90;">是</span></div>
		{{#  } else { }}
			<div class="layui-table-cell laytable-cell-1-status"><span style="color: #FF6A6A;">否</span></div>
		{{#  } }}
	</script>
	
	<script type="text/html" id="deformityFlgtpl">
		{{#  if(d.deformityFlg == 1){ }}
  			<div class="layui-table-cell laytable-cell-1-status"><span style="color: #90EE90;">是</span></div>
		{{#  } else { }}
			<div class="layui-table-cell laytable-cell-1-status"><span style="color: #FF6A6A;">否</span></div>
		{{#  } }}
	</script>
	
		<script type="text/html" id="helpTargetFlgtpl">
		{{#  if(d.helpTargetFlg == 1){ }}
  			<div class="layui-table-cell laytable-cell-1-status"><span style="color: #90EE90;">是</span></div>
		{{#  } else { }}
			<div class="layui-table-cell laytable-cell-1-status"><span style="color: #FF6A6A;">否</span></div>
		{{#  } }}
	</script>
	
	
		<script type="text/html" id="joinCultFlgtpl">
		{{#  if(d.joinCultFlg == 1){ }}
  			<div class="layui-table-cell laytable-cell-1-status"><span style="color: #90EE90;">是</span></div>
		{{#  } else { }}
			<div class="layui-table-cell laytable-cell-1-status"><span style="color: #FF6A6A;">否</span></div>
		{{#  } }}
	</script>
	
		<script type="text/html" id="endowmentInsuranceStrtpl">
		{{#  if(d.endowmentInsurance == 1){ }}
  			<div class="layui-table-cell laytable-cell-1-status"><span style="color: #90EE90;">城镇养老</span></div>
		{{#  } else if(d.concernedDrugs == 2){ }}
			<div class="layui-table-cell laytable-cell-1-status"><span style="color: #FF6A6A;">职工养老</span></div>
		{{#  } else { }}
			<div class="layui-table-cell laytable-cell-1-status"><span style="color: #FF6A6A;">无</span></div>
		{{#  } }}
	</script>
	<script type="text/html" id="industrialInsuranceStrtpl">
		{{#  if(d.industrialInsuranceStr == 1){ }}
  			<div class="layui-table-cell laytable-cell-1-status"><span style="color: #90EE90;">是</span></div>
		{{#  } else { }}
			<div class="layui-table-cell laytable-cell-1-status"><span style="color: #FF6A6A;">否</span></div>
		{{#  } }}
	</script>
	<script type="text/html" id="unemploymentInsuranceStrtpl">
		{{#  if(d.unemploymentInsuranceStr == 1){ }}
  			<div class="layui-table-cell laytable-cell-1-status"><span style="color: #90EE90;">是</span></div>
		{{#  } else { }}
			<div class="layui-table-cell laytable-cell-1-status"><span style="color: #FF6A6A;">否</span></div>
		{{#  } }}
	</script>
	<script type="text/html" id="birthInsurancetpl">
		{{#  if(d.birthInsurance == 1){ }}
  			<div class="layui-table-cell laytable-cell-1-status"><span style="color: #90EE90;">是</span></div>
		{{#  } else { }}
			<div class="layui-table-cell laytable-cell-1-status"><span style="color: #FF6A6A;">否</span></div>
		{{#  } }}
	</script>
	
	<script type="text/html" id="rectificationFlgtpl">
		{{#  if(d.rectificationFlg == 1){ }}
  			<div class="layui-table-cell laytable-cell-1-status"><span style="color: #90EE90;">是</span></div>
		{{#  } else { }}
			<div class="layui-table-cell laytable-cell-1-status"><span style="color: #FF6A6A;">否</span></div>
		{{#  } }}
	</script>
	<script type="text/html" id="medicalInsurancetpl">
		{{#  if(d.medicalInsurance == 1){ }}
  			<div class="layui-table-cell laytable-cell-1-status"><span style="color: #90EE90;">是</span></div>
		{{#  } else { }}
			<div class="layui-table-cell laytable-cell-1-status"><span style="color: #FF6A6A;">否</span></div>
		{{#  } }}
	</script>
	<script type="text/html" id="concernedDrugsFlgtpl">
		{{#  if(d.concernedDrugs == 1){ }}
  			<div class="layui-table-cell laytable-cell-1-status"><span style="color: #90EE90;">强戒</span></div>
		{{#  } else if(d.concernedDrugs == 2){ }}
			<div class="layui-table-cell laytable-cell-1-status"><span style="color: #FF6A6A;">管控</span></div>
		{{#  } else if(d.concernedDrugs == 3){ }}
			<div class="layui-table-cell laytable-cell-1-status"><span style="color: #FF6A6A;">康复</span></div>
		{{#  } else{ }}
			<div class="layui-table-cell laytable-cell-1-status"><span style="color: #FF6A6A;">无</span></div>
		{{#  } }}
	</script>
	<script type="text/html" id="violationPeaceSituationtpl">
		{{#  if(d.violationPeaceSituation == 1){ }}
  			<div class="layui-table-cell laytable-cell-1-status"><span style="color: #90EE90;">是</span></div>
		{{#  } else { }}
			<div class="layui-table-cell laytable-cell-1-status"><span style="color: #FF6A6A;">否</span></div>
		{{#  } }}
	</script>
	<script type="text/html" id="illegalSituationtpl">
		{{#  if(d.illegalSituation == 1){ }}
  			<div class="layui-table-cell laytable-cell-1-status"><span style="color: #90EE90;">服刑</span></div>
		{{#  } else if(d.illegalSituation == 2){ }}
			<div class="layui-table-cell laytable-cell-1-status"><span style="color: #FF6A6A;">释放</span></div>
		{{#  } else { }}
			<div class="layui-table-cell laytable-cell-1-status"><span style="color: #FF6A6A;">无</span></div>
		{{#  } }}
	</script>
	
		<script type="text/html" id="happinessFamilyRatetpl">
		{{#  if(d.happinessFamilyRate == 2){ }}
  			<div class="layui-table-cell laytable-cell-1-status"><span style="color: #90EE90;">文明</span></div>
		{{#  } else if(d.happinessFamilyRate == 1){ }}
			<div class="layui-table-cell laytable-cell-1-status"><span style="color: #FF6A6A;">卫生</span></div>
		{{#  } else if(d.happinessFamilyRate == 3){ }}
			<div class="layui-table-cell laytable-cell-1-status"><span style="color: #FF6A6A;">平安</span></div>
		{{#  } else if(d.happinessFamilyRate == 4){ }}
			<div class="layui-table-cell laytable-cell-1-status"><span style="color: #FF6A6A;">守法</span></div>
		{{#  } else if(d.happinessFamilyRate == 5){ }}
			<div class="layui-table-cell laytable-cell-1-status"><span style="color: #FF6A6A;">诚信</span></div>
{{#  } else { }}
			<div class="layui-table-cell laytable-cell-1-status"><span style="color: #FF6A6A;">无</span></div>

		{{#  } }}
	</script>
	
	<script type="text/html" id="enjoyServiceFlgtpl">
		{{#  if(d.enjoyServiceFlg == 2){ }}
  			<div class="layui-table-cell laytable-cell-1-status"><span style="color: #90EE90;">服务</span></div>
		{{#  } else if(d.enjoyServiceFlg == 1){ }}
			<div class="layui-table-cell laytable-cell-1-status"><span style="color: #FF6A6A;">暂停</span></div>
		{{#  } else if(d.enjoyServiceFlg == 3){ }}
			<div class="layui-table-cell laytable-cell-1-status"><span style="color: #FF6A6A;">VIP</span></div>
		{{#  } else{ }}
			<div class="layui-table-cell laytable-cell-1-status"><span style="color: #FF6A6A;">无</span></div>

		{{#  } }}
	</script>
										
	<script type="text/html" id="imgtpl">
		{{#  if(d.headPic != null&&d.headPic != ""){ }}
  			<div class="my-table-height"><img src="{{d.headPic}}" width="50" height="50"/></div>
		{{#  } else { }}
			<div class="my-table-height">
		{{#  } }}
	</script>
	
	
	<script type="text/html" id="edit-tpl">
    	<div style="margin:10px">
        	<div class="layui-form" action="" lay-filter="form-edit">

				{{# if(d.userinfo.id!=""){}}
					<input type="hidden" id="id" name="id" value="{{d.userinfo.id}}" />
				{{#};}}
				<div class="layui-form-item">
                	<label class="layui-form-label">头像</label>
						<div class="layui-upload">
  							<button type="button" class="layui-btn" id="menuLogoButton"><i class="layui-icon">&#xe681;</i>选择图片</button>
						</div> 
            	</div>
				<div class="layui-form-item">
					<label class="layui-form-label"></label>
						<div class="layui-upload-list">
								{{# if(d.userinfo.headPic!=null&&d.userinfo.headPic!=""){}}
									<img class="layui-upload-img" id="headPic" width="115" height="115" src="{{d.userinfo.headPic}}">
								{{# }else{}}
									<img class="layui-upload-img" id="headPic" width="115" height="115">
								{{# }}}
  						</div>
            	</div>

				<div class="layui-form-item">
                	<label class="layui-form-label">姓名</label>
                	<div class="layui-input-block">
                    	<input type="text" id="userName" name="userName" required lay-verify="required" value="{{d.userinfo.userName}}" placeholder="" autocomplete="off" class="layui-input">
                	</div>
            	</div>

				<div class="layui-form-item">
                	<label class="layui-form-label">所属网格</label>
                	<div class="layui-input-block">
                		<select id="gridId" name="gridId" lay-verify="" lay-filter="bjType">
						{{# var item = d.mapgridList,m=0 ;}}
						{{# for(var i=0;i<item.length;i++){}}
									{{# if(d.userinfo.gridId==item[i].id){}}
										<option value="{{item[i].id}}" selected >{{item[i].name}}</option>	
									{{# }else{}}
										<option value="{{item[i].id}}" >{{item[i].name}}</option>	
									{{# }}}

						{{# }}}
						</select>	
		
					</div>
            	</div>


				<div class="layui-form-item">
                	<label class="layui-form-label">所在楼栋</label>
                	<div class="layui-input-block">
                	<select id="buildingId" name="buildingId" lay-verify="">
						{{# var item = d.buildingList,m=0 ;}}
						{{# for(var i=0;i<item.length;i++){}}
									{{# if(d.userinfo.buildingId==item[i].id){}}
										<option value="{{item[i].id}}" selected >{{item[i].name}}</option>	
									{{# }else{}}
										<option value="{{item[i].id}}" >{{item[i].name}}</option>	
									{{# }}}

						{{# }}}
						</select>	
					</div>
            	</div>

				<div class="layui-form-item">
                	<label class="layui-form-label">楼栋地址</label>
                	<div class="layui-input-block">
                    	<input type="text" id="buildingAddress" name="buildingAddress" required lay-verify="required" value="{{d.userinfo.buildingAddress}}" placeholder="" autocomplete="off" class="layui-input">
                	</div>
            	</div>

				<div class="layui-form-item">
                	<label class="layui-form-label">性别</label>
                	<div class="layui-input-block">
                		<select id="gender" name="gender" lay-verify="">
							
							{{# if(d.userinfo.gender=='1'){}}
										<option value="1"  selected >男</option>	
										<option value="2"   >女</option>	
									{{# }else{}}
										<option value="1"   >男</option>	
										<option value="2"  selected >女</option>	
									{{# }}}
						</select>	
		
					</div>
            	</div>

				<div class="layui-form-item">
                	<label class="layui-form-label">户籍地址</label>
                	<div class="layui-input-block">
                    	<input type="text" id="permanentAddress" name="permanentAddress" required lay-verify="required" value="{{d.userinfo.permanentAddress}}" placeholder="" autocomplete="off" class="layui-input">
                	</div>
            	</div>
			<div class="layui-form-item">
                	<label class="layui-form-label">家庭住址</label>
                	<div class="layui-input-block">
                    	<input type="text" id="homeAddress" name="homeAddress" required lay-verify="required" value="{{d.userinfo.homeAddress}}" placeholder="" autocomplete="off" class="layui-input">
                	</div>
            	</div>

				<div class="layui-form-item">
                	<label class="layui-form-label">与户主关系</label>
                	<div class="layui-input-block">
                    	<input type="text" id="householderRel" name="householderRel" required lay-verify="required" value="{{d.userinfo.householderRel}}" placeholder="" autocomplete="off" class="layui-input">
                	</div>
            	</div>
				<div class="layui-form-item">
                	<label class="layui-form-label">政治面貌</label>
                	<div class="layui-input-block">
                		<select id="politicalStatus" name="politicalStatus" lay-verify="">
							<option value="">无</option>
							{{# if(d.userinfo.politicalStatus=='1'){}}
										<option value="1"  selected >党员</option>	
										<option value="2"   >团员</option>	
									{{# }else{}}
										<option value="1"   >党员</option>	
										<option value="2"  selected >团员</option>	
									{{# }}}
						</select>	
		
					</div>
            	</div>
				<div class="layui-form-item">
                	<label class="layui-form-label">身份证号</label>
                	<div class="layui-input-block">
                    	<input type="number" id="identifyNumber"  min="18"  name="identifyNumber" required lay-verify="required" value="{{d.userinfo.identifyNumber}}" placeholder="" autocomplete="off" class="layui-input">
                	</div>
            	</div>
				<div class="layui-form-item">
                	<label class="layui-form-label">民族</label>
                	<div class="layui-input-block">
                    	<input type="text" id="nation" name="nation" required lay-verify="required" value="{{d.userinfo.nation}}" placeholder="" autocomplete="off" class="layui-input">
                	</div>
            	</div>
				<div class="layui-form-item">
                	<label class="layui-form-label">文化水平</label>
                	<div class="layui-input-block">
                    	<input type="text" name="educationLevel" id="educationLevel" lay-verify="required" value="{{d.userinfo.educationLevel}}" placeholder="" autocomplete="off" class="layui-input">
                	</div>
            	</div>
				<div class="layui-form-item">
                	<label class="layui-form-label">婚姻状况</label>
                	<div class="layui-input-block">
                		<select id="maritalStatus" name="maritalStatus" lay-verify="">
							<option value="0"  {{# if(d.userinfo.maritalStatus=='0'){}}  selected {{# } }} >已婚</option>	
							<option value="1"   >再婚</option>	
							<option value="2"   >离异</option>	
							<option value="3"  {{# if(d.userinfo.maritalStatus=='3'){}}  selected {{# } }} >未婚</option>	
							<option value="4"   >丧偶</option>	
						</select>	
		
					</div>
            	</div>

				<div class="layui-form-item">
                	<label class="layui-form-label">电话</label>
                	<div class="layui-input-block">
                    	<input type="tel" id="telephone" name="telephone" required lay-verify="required" value="{{d.userinfo.telephone}}" placeholder="" autocomplete="off" class="layui-input">
                	</div>
            	</div>
				<div class="layui-form-item">
                	<label class="layui-form-label">工作单位</label>
                	<div class="layui-input-block">
                    	<input type="text" id="workUnit" name="workUnit" value="{{d.userinfo.workUnit}}" placeholder="" autocomplete="off" class="layui-input">
                	</div>
            	</div>

				<div class="layui-form-item">
                	<label class="layui-form-label">兵役状况</label>
                	<div class="layui-input-block">
                		<select id="militaryServiceStatus" name="militaryServiceStatus" lay-verify="">
							
							{{# if(d.userinfo.militaryServiceStatus=='1'){}}
										<option value="0"   >现役</option>	
										<option value="1"   >复员</option>	
										<option value="2"   selected >两参</option>	
									{{# }else{}}
										<option value="0"  >现役</option>	
										<option value="1"   >复员</option>	
										<option value="2"   selected>两参</option>	
									{{# }}}
						</select>	
		
					</div>
            	</div>


				<div class="layui-form-item">
                	<label class="layui-form-label">是否享受低保</label>
                	<div class="layui-input-block">
                		<select id="enjoyLivingAllowancesFlg" name="enjoyLivingAllowancesFlg" lay-verify="">
							
							{{# if(d.userinfo.enjoyLivingAllowancesFlg=='1'){}}
										<option value="0"   >否</option>	
										<option value="1"  selected >是</option>	
										
									{{# }else{}}
										<option value="0"   selected>否</option>	
										<option value="1"   >是</option>	
									{{# }}}
						</select>	
		
					</div>
            	</div>
					<div class="layui-form-item">
                	<label class="layui-form-label">是否残疾</label>
                	<div class="layui-input-block">
                		<select id="deformityFlg" name="deformityFlg" lay-verify="">
							
							{{# if(d.userinfo.deformityFlg=='1'){}}
										<option value="0"   >否</option>	
										<option value="1"  selected >是</option>	
									{{# }else{}}
										<option value="0"   selected>否</option>	
										<option value="1"   >是</option>	
										
									{{# }}}
						</select>	
		
					</div>
            	</div>
				
				<div class="layui-form-item">
                	<label class="layui-form-label">是否重点优扶对象</label>
                	<div class="layui-input-block">
                		<select id="helpTargetFlg" name="helpTargetFlg" lay-verify="">
							
							{{# if(d.userinfo.helpTargetFlg=='1'){}}
										<option value="0"   >否</option>	
										<option value="1"   selected>是</option>	
									{{# }else{}}
										<option value="0"  selected >否</option>	
										<option value="1"   >是</option>	
									{{# }}}
						</select>	
		
					</div>
            	</div>
				<div class="layui-form-item">
                	<label class="layui-form-label">涉毒情况</label>
                	<div class="layui-input-block">
                		<select id="concernedDrugs" name="concernedDrugs" lay-verify="">
								
							{{# if(d.userinfo.concernedDrugs=='1'){}}
										<option value="0">无</option>
										<option value="1"  selected >强戒</option>	
										<option value="2"   >管控</option>	
										<option value="3"   >康复</option>	
									{{# }else if(d.userinfo.concernedDrugs=='2'){}}
										<option value="0">无</option>
										<option value="1"   >强戒</option>	
										<option value="2"   selected>管控</option>	
										<option value="3"   >康复</option>	
									{{# }else if(d.userinfo.concernedDrugs=='3'){}}
										<option value="0">无</option>
										<option value="1"   >强戒</option>	
										<option value="2"   >管控</option>	
										<option value="3"  selected >康复</option>	
										{{# }else{}}
										<option value="0" selected>无</option>
										<option value="1"   >强戒</option>	
										<option value="2"   >管控</option>	
										<option value="3"   >康复</option>	
									{{# }}}
						</select>	
		
					</div>
            	</div>
				
				<div class="layui-form-item">
                	<label class="layui-form-label">违反治安情况行政拘留</label>
                	<div class="layui-input-block">
                		<select id="violationPeaceSituation" name="violationPeaceSituation" lay-verify="">
							
							{{# if(d.userinfo.violationPeaceSituation=='1'){}}
										<option value="0"   >否</option>	
										<option value="1"  selected >是</option>	
										
									{{# }else{}}
										<option value="0"  selected >否</option>	
										<option value="1"   >是</option>	
									{{# }}}
						</select>	
		
					</div>
            	</div>
				
				<div class="layui-form-item">
                	<label class="layui-form-label">违法情况</label>
                	<div class="layui-input-block">
                		<select id="illegalSituation" name="illegalSituation" lay-verify="">
							
							{{# if(d.userinfo.illegalSituation=='1'){}}
										<option value="0">无</option>
										<option value="1"  selected >服刑</option>	
										<option value="2"   >释放</option>	
									{{# }else if(d.userinfo.illegalSituation=='2'){}}
										<option value="0">无</option>
										<option value="1"   >服刑</option>	
										<option value="2"   selected>释放</option>	
									{{# }else{}}
										<option value="0" selected>无</option>
										<option value="1"   >服刑</option>	
										<option value="2"   >释放</option>	
									{{# }}}
						</select>	
		
					</div>
            	</div>
			<div class="layui-form-item">
                	<label class="layui-form-label">是否参加邪教组织</label>
                	<div class="layui-input-block">
                		<select id="joinCultFlg" name="joinCultFlg" lay-verify="">
							
							{{# if(d.userinfo.joinCultFlg=='1'){}}
										<option value="0"   >否</option>	
										<option value="1"  selected >是</option>	
									{{# }else{}}
										<option value="0"  selected >否</option>	
										<option value="1"   >是</option>	
									{{# }}}
						</select>	
		
					</div>
            	</div>
				<div class="layui-form-item">
                	<label class="layui-form-label">养老保险</label>
                	<div class="layui-input-block">
                		<select id="endowmentInsurance" name="endowmentInsurance" lay-verify="">
								
							{{# if(d.userinfo.endowmentInsurance=='1'){}}
										<option value="0">无</option>
										<option value="1"  selected >城镇养老</option>	
										<option value="2"   >职工养老</option>	
							{{#  }else if(d.userinfo.endowmentInsurance=='2'){}}
										<option value="0">无</option>
										<option value="1"   >城镇养老</option>	
										<option value="2"  selected >职工养老</option>	
									{{# }else{}}
										<option value="0" selected>无</option>
										<option value="1"   >城镇养老</option>	
										<option value="2"   >职工养老</option>	
									{{# }}}
						</select>	
		
					</div>
            	</div>
				<div class="layui-form-item">
                	<label class="layui-form-label">生育保险</label>
                	<div class="layui-input-block">
                		<select id="birthInsurance" name="birthInsurance" lay-verify="">
							{{# if(d.userinfo.birthInsurance=='1'){}}
										<option value="0"  selected >是</option>	
										<option value="1"   >否</option>	
									{{# }else{}}
										<option value="0"  selected >是</option>	
										<option value="1"   >否</option>	
									{{# }}}
						</select>	
		
					</div>
            	</div>
				
				<div class="layui-form-item">
                	<label class="layui-form-label">工伤保险</label>
                	<div class="layui-input-block">
                		<select id="industrialInsurance" name="industrialInsurance" lay-verify="">
							
							{{# if(d.userinfo.industrialInsurance=='1'){}}
										
										<option value="0"   >否</option>	
<option value="1"  selected >是</option>	
									{{# }else{}}
										
										<option value="0" selected  >否</option>	
<option value="1"   >是</option>	
									{{# }}}
						</select>	
		
					</div>
            	</div>
				<div class="layui-form-item">
                	<label class="layui-form-label">失业保险</label>
                	<div class="layui-input-block">
                		<select id="unemploymentInsurance" name="unemploymentInsurance" lay-verify="">
							
							{{# if(d.userinfo.unemploymentInsurance=='1'){}}
										<option value="0"   >否</option>	
										<option value="1" selected  >是</option>	
									{{# }else{}}
<option value="0"  selected >否</option>	
										<option value="1"   >是</option>	
										
									{{# }}}
						</select>	
		
					</div>
            	</div>
				<div class="layui-form-item">
                	<label class="layui-form-label">医疗保险</label>
                	<div class="layui-input-block">
                		<select id="medicalInsurance" name="medicalInsurance" lay-verify="">
								
							{{# if(d.userinfo.medicalInsurance=='1'){}}
										<option value="0"   >无</option>	
										<option value="1"  selected >居民医保</option>	
										<option value="2"   >职工医保</option>	
										<option value="3"   >合医</option>	
							{{# }else if(d.userinfo.medicalInsurance=='2'){}}
										<option value="0"   >无</option>	
										<option value="1"   >居民医保</option>	
										<option value="2" selected  >职工医保</option>	
										<option value="3"   >合医</option>	
							{{# }else if(d.userinfo.medicalInsurance=='3'){}}
									<option value="0"   >无</option>	
										<option value="1"   >居民医保</option>	
										<option value="2"   >职工医保</option>	
										<option value="3"  selected >合医</option>	
									{{# }else{}}
										<option value="0"  selected >无</option>	
										<option value="1"   >居民医保</option>	
										<option value="2"   >职工医保</option>	
										<option value="3"   >合医</option>	
									{{# }}}
						</select>	
		
					</div>
            	</div>
				<div class="layui-form-item">
                	<label class="layui-form-label">幸福家庭五评比情况</label>
                	<div class="layui-input-block">
                		<select id="happinessFamilyRate" name="happinessFamilyRate" lay-verify="">
								<option value="">无</option>
							{{# if(d.userinfo.happinessFamilyRate=='1'){}}
										<option value="0"   >无</option>	
										<option value="1"  selected >卫生</option>	
										<option value="2"   >文明</option>	
										<option value="3"   >平安</option>	
										<option value="4"   >守法</option>	
										<option value="5"   >诚信</option>	
								{{# }else if(d.userinfo.happinessFamilyRate=='2'){}}
										<option value="0"   >无</option>	
										<option value="1"   >卫生</option>	
										<option value="2"  selected >文明</option>	
										<option value="3"   >平安</option>	
										<option value="4"   >守法</option>	
										<option value="5"   >诚信</option>	
{{# }else if(d.userinfo.happinessFamilyRate=='3'){}}
										<option value="0"   >无</option>	
										<option value="1"   >卫生</option>	
										<option value="2"   >文明</option>	
										<option value="3"  selected >平安</option>	
										<option value="4"   >守法</option>	
										<option value="5"   >诚信</option>		
{{# }else if(d.userinfo.happinessFamilyRate=='4'){}}
										<option value="0"   >无</option>	
										<option value="1"   >卫生</option>	
										<option value="2"   >文明</option>	
										<option value="3"   >平安</option>	
										<option value="4"  selected >守法</option>	
										<option value="5"   >诚信</option>		
{{# }else if(d.userinfo.happinessFamilyRate=='5'){}}
										<option value="0"   >无</option>	
										<option value="1"   >卫生</option>	
										<option value="2"   >文明</option>	
										<option value="3"   >平安</option>	
										<option value="4"   >守法</option>	
										<option value="5"  selected >诚信</option>			
									{{# }else{}}
										<option value="0"  selected >无</option>	
										<option value="1"   >卫生</option>	
										<option value="2"   >文明</option>	
										<option value="3"   >平安</option>	
										<option value="4"   >守法</option>	
										<option value="5"   >诚信</option>	

									{{# }}}
						</select>	
		
					</div>
            	</div>


	<div class="layui-form-item">
                	<label class="layui-form-label">存在问题</label>
                	<div class="layui-input-block">
                    	<input type="text" id="exitingProblem" name="exitingProblem"  value="{{d.userinfo.exitingProblem}}" placeholder="" autocomplete="off" class="layui-input">
                	</div>
            	</div>

<div class="layui-form-item">
                	<label class="layui-form-label">是否整改</label>
                	<div class="layui-input-block">
                		<select id="rectificationFlg" name="rectificationFlg" lay-verify="">
								<option value="">无</option>
							{{# if(d.userinfo.rectificationFlg=='1'){}}
										<option value="1"  selected >是</option>	
										<option value="0"   >否</option>	
									{{# }else{}}
										<option value="1"   >是</option>	
										<option value="0"  selected >否</option>	
									{{# }}}
						</select>	
		
					</div>
            	</div>
				<div class="layui-form-item">
                	<label class="layui-form-label">享受服务情况</label>
                	<div class="layui-input-block">
                		<select id="enjoyServiceFlg" name="enjoyServiceFlg" lay-verify="">
								
							{{# if(d.userinfo.enjoyServiceFlg=='1'){}}
										<option value="0">无</option>
										<option value="1"  selected >暂停</option>	
										<option value="2"   >服务</option>	
										<option value="3"   >VIP</option>	
							{{# }else if(d.userinfo.enjoyServiceFlg=='2'){}}
										<option value="0">无</option>
										<option value="1"   >暂停</option>	
										<option value="2"  selected >服务</option>	
										<option value="3"   >VIP</option>	
							{{# }else if(d.userinfo.enjoyServiceFlg=='3'){}}
										<option value="0">无</option>
										<option value="1"   >暂停</option>	
										<option value="2"   >服务</option>	
										<option value="3"  selected >VIP</option>	
									{{# }else{}}
										<option value="0" selected>无</option>
										<option value="1"   >暂停</option>	
										<option value="2"   >服务</option>	
										<option value="3"   >VIP</option>	
									{{# }}}
						</select>	
		
					</div>
            	</div>

				<div class="layui-form-item" style="display:none;">
                	<div class="layui-input-block">
                    	<button id="formEdit" class="layui-btn" lay-submit lay-filter="formEdit">立即提交</button>
                    	<button type="reset" class="layui-btn layui-btn-primary">重置</button>
                	</div>
            	</div>
        	</div>
    	</div>
	</script>
	<script type="text/html" id="data-tpl">
	<table class="layui-table" lay-data="{height:315, url:'/sys/baseuser/list', page:true, id:'test'}" lay-filter="test">
  <thead>
    <tr>
      <th lay-data="{field:'id', width:80, sort: true}">ID</th>
      <th lay-data="{field:'userName', width:80}">用户名</th>
      <th lay-data="{field:'gender', width:80, sort: true}">性别</th>
      <th lay-data="{field:'gridId'}">城市</th>
      <th lay-data="{field:'buildingId'}">签名</th>
      <th lay-data="{field:'buildingAddress', sort: true}">积分</th>
      <th lay-data="{field:'householderRel', sort: true}">评分</th>
      <th lay-data="{field:'politicalStatus'}">职业</th>
      <th lay-data="{field:'identifyNumber', sort: true}">财富</th>
    </tr>
  </thead>
	</table>
	</script>
    <script src="../plugins/vue/vue.min.js"></script>
    <script src="../plugins/layui/layui.js"></script>
    <script src="./js/baseuser.js"></script>
</body>

</html>